POV-Ray : Newsgroups : povray.newusers : text on a cylinder : Re: text on a cylinder Server Time
31 Jul 2024 12:24:27 EDT (-0400)
  Re: text on a cylinder  
From: Warp
Date: 4 Nov 2002 15:05:55
Message: <3dc6d323@news.povray.org>
J Tellings <j_t### [at] hotmailcom> wrote:
> I can get flat text on a cylinder with object pattern, but I can't do it
> with 3D-text.

  Oh, I thought you just wanted to apply text to a cylinder (like if it
was an image map). I didn't understand that you really wanted 3D letters.

  In that case the only(?) way would be to rotate and translate individual
letters. This can be pretty much automatized, as can be seen in the
already-mentioned Circle_Text() macro. Looking at how this macro is
done should help you.

-- 
#macro N(D)#if(D>99)cylinder{M()#local D=div(D,104);M().5,2pigment{rgb M()}}
N(D)#end#end#macro M()<mod(D,13)-6mod(div(D,13)8)-3,10>#end blob{
N(11117333955)N(4254934330)N(3900569407)N(7382340)N(3358)N(970)}//  - Warp -


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.